/**
 * Created by dukes on 2015/12/23.
 */
//module game {
    class VipConfig {
        public foreignPillageFreeCleanTimes:number;
        public level:number;
        public maxAttentionDateTimes:number;
        public maxAttentionNum:number;
        public maxAttentionPillageTimes:number;
        public maxBlockNum:number;
        public maxForeignDateTmes:number;
        public maxPraiseTimes:number;
        public score:number;
        public washTimes:number;

        public signConfig;

        public constructor(data:any = null) {
            //super();
            if (data)
                this.initFromData(data);
        }

        public initFromData(data:any) {
            this.foreignPillageFreeCleanTimes = data.foreignPillageFreeCleanTimes;
            this.level = data.level;
            this.maxAttentionDateTimes = data.maxAttentionDateTimes;
            this.maxAttentionNum = data.maxAttentionNum;
            this.maxAttentionPillageTimes = data.maxAttentionPillageTimes;
            this.maxBlockNum = data.maxBlockNum;
            this.maxForeignDateTmes = data.maxForeignDateTmes;
            this.maxPraiseTimes = data.maxPraiseTimes;
            this.washTimes = data.washTimes;
            this.score = data.score;

            this.signConfig = data.signConfig;
        }
    }
//}